package com.adv.crm.services.impl;

import com.adv.crm.beans.UserBean;
import com.adv.crm.dao.UserDao;
import com.adv.crm.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 16978 on 2016/8/8.
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;

    @Override
    public UserBean getUserByName(String name) {
        return userDao.getUserByName(name);
    }
}
